<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">
   <!-- <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>--><!--加上这个就不能缩放了-->
    <title>Document</title>
    <style type="text/css">
    canvas {
      width: 100%;
      height: 100%;
     border: 1px solid black;
    }
  </style>
    <script src="https://unpkg.com/pdfjs-dist@1.9.426/build/pdf.min.js"></script>
    <script type="text/javascript" src="demo.js"></script>
</head>
<body>
</body>
</html>
